///////////////////////////////////////////////////////////
//  SendMailCommand.h
//  Implementation of the Class SendMailCommand
//  Created on:      21-Sep-2013 12:10:26 PM
//  Original author: Jakkaphan Aiemcharoenjit
///////////////////////////////////////////////////////////

#if !defined(EA_FBBE3D2B_D446_4d01_A0EC_AB7C3DC15ED7__INCLUDED_)
#define EA_FBBE3D2B_D446_4d01_A0EC_AB7C3DC15ED7__INCLUDED_

#include "ICommand.h"
#include "CCheckListView.h"
#include "CSendMailView.h"

namespace UI
{
  namespace CMD
  {

    class SendMailCommand : public ICommand
    {

    public:
      SendMailCommand(CSendMailView* sendMail, CCheckListView* checkList);
      virtual ~SendMailCommand();
      virtual void Execute();
      virtual ICommand::CommandType GetType();

    private:
      std::string bodyContext(IPage* page);

    private:
      ICommand::CommandType m_type;
      CCheckListView* m_checkListView;
      CSendMailView* m_sendMailView;

    };
  }
}

#endif // !defined(EA_FBBE3D2B_D446_4d01_A0EC_AB7C3DC15ED7__INCLUDED_)
